import Vue from 'vue'
import VueRouter from 'vue-router'


Vue.use(VueRouter)

const routes = [
  {
  path:"/",
  component:()=>import ("../views/index.vue")
},
  {
    path:'/plant',
    component:()=>import('../views/areaPlant.vue')
    },
    {
      path:'/harvest',
      component:()=>import('../views/harvest.vue')
    },{
      path:'/Proportion',
      component:()=>import('../views/cropAreasProportion.vue')
    },{
      path:'/crop',
      component:()=>import('../views/CropCoverage.vue')
    },{
      path:'/TotalArea',
      component:()=>import('../views/TotalArea.vue')
    },{
      path:'/Trend',
      component:()=>import('../views/Trend.vue')
    },{
      path:'/index',
      component:()=>import('../views/index.vue')
    }
  
]

const router = new VueRouter({
  routes
})

export default router
